/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mycompany.chatapp.Databaseacces;

import com.mycompany.chatapp.Thumbnail;
import java.io.Serializable;
import java.util.*;               
import javax.media.jai.RenderedOp;


/**
 *
 * @author Group C
 */
public class Photo implements Serializable
{
    
    private String title="";
    private String creator="";
    private String path="";
    private String id="";
    private String location="";
    private String date="";
    private String format="";
    private String sizeH="";
    private String sizeW="";
    private ArrayList<String> freeTags=null;
    private ArrayList<String> taxonomyTags=null;
    private RenderedOp thumbnail=null;

    public Photo()
    {
        freeTags = new ArrayList<String>();
        taxonomyTags = new ArrayList<String>();
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    
    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
   

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getSizeH() {
        return sizeH;
    }

    public void setSizeH(String sizeH) {
        this.sizeH = sizeH;
    }

    public String getSizeW() {
        return sizeW;
    }

    public void setSizeW(String sizeW) {
        this.sizeW = sizeW;
    }
    
    public ArrayList<String> getFreeTags() {
        return freeTags;
    }

    public void setFreeTags(String fTags) {
        freeTags.add(fTags);
    }
    
    public ArrayList<String> getTaxonomyTags() {
        return taxonomyTags;
    }

    public void setTaxonomyTags(String tTags) {
        taxonomyTags.add(tTags);
    }
     public RenderedOp getThumbnail() {
        return this.thumbnail;
    }
      public void setThumbnail(RenderedOp thumbnail) {
        this.thumbnail = thumbnail;
    }
    
}